﻿#ifndef ECOMBOBOX_H
#define ECOMBOBOX_H

#include <QComboBox>
#include "API_BaseWidget.h"

class QWidget;
class QWheelEvent;
namespace BaseWidget
{
    /// @brief 自定义的下拉列表
    class API_BASEWIDGET EComboBox : public QComboBox
    {
        Q_OBJECT
    public:
        explicit EComboBox(QWidget* parent = nullptr);
    private:
        /// @brief 重写鼠标滚动事件
        void wheelEvent(QWheelEvent* event) override;
    };
}


#endif
